package com.packet.cheng.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author 张在成
 * 发红包信息存库
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "红包信息")
public class RedPacketParamDTO{

    /**
     * 红包总金额
     */
    @ApiModelProperty(value = "红包总金额")
    private BigDecimal totalAmount;
    /**
     * 红包个数
     */
    @ApiModelProperty(value = "红包总数")
    private  Integer totalPacket;
    /**
     * 红包单个金额
     */
    @ApiModelProperty(value = "单个红包金额，单位是元，最少0.01元")
    private  BigDecimal amountOne;
    /**
     * 祝福语
     */
    @ApiModelProperty(value = "红包祝福语")
    private  String blessing;
    /**
     * 红包封面
     */
    @ApiModelProperty("红包封面")
    private  String cover;

    @ApiModelProperty("红包类型")
    private  Integer  type;

}
